package com.zls.service;

import com.zls.page.PageResult;
import com.zls.page.QueryPageBean;
import com.zls.pojo.ProAndDevCon;
import com.zls.pojo.Project;

import java.util.List;

public interface ProjectService {

    List<Project> findAll();

    PageResult findPage(QueryPageBean queryPageBean);

    int addProject(Project project);

    int deleteProject(int pid);

    Project findById(int pid);

    int editProject(Project project);

    void bindDid(String did, int[] pids);

    void bindCid(String cid, int[] pids);

    int findByDid(String did);

    List<Project> findByDids(String did);

    List<Project> findByCids(String cid);

    int findByCid(String cid);

    int deleteByDid(String did);

    int deleteByCid(String cid);

    ProAndDevCon index(int pid);


}
